
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;

namespace Models.Entity
{
    /// <summary>
    /// 课程配置
    /// </summary>
    [Table("c_classes_cfg_teacher")]
    public class CClassesCfgTeacherEntity : BaseModel
    {

        /// <summary>
        /// teacher_cfg_id
        /// </summary>
        [Key]
        [Column("teacher_cfg_id")]
        public int teacher_cfg_id { get; set; }
        /// <summary>
        /// classes_cfg_id
        /// </summary>
        [Column("classes_cfg_id")]
        public int classes_cfg_id { get; set; }
        /// <summary>
        /// teacher_course_id
        /// </summary>
        [Column("teacher_course_id")]
        public int teacher_course_id { get; set; }
        /// <summary>
        /// 每周节数
        /// </summary>
        [Column("week_num")]
        public int week_num { get; set; }

        /// <summary>
        /// 是否使用：0未使用，1已使用
        /// </summary>
        [Column("is_use")]
        public int is_use { get; set; }

        /// <summary>
        /// 合班的班级ID,至少有一个
        /// </summary>
        /// <value></value>
        public List<int> ClassesIdList { get; set; }
    }
}
